<?php

class Core_Table_Model_Post extends Database_Model_Item
{

	protected $_pk = 'post_id';

	protected $_itemType = 'core-post';

	function getId()
	{
		return $this -> post_id;
	}
	
	function getDescription(){
		return substr(strip_tags($this->content), 0, 100);
	}
}
